package com.go.where.family.dao.impl;

import java.util.Map;

import org.springframework.stereotype.Repository;

import com.go.where.family.dao.AlbumDao;
import com.go.where.family.pojo.AlbumInfo;

@Repository("albumDao")
public class AlbumDaoImpl extends BaseDaoImpl<AlbumInfo, String> implements
		AlbumDao {

	@Override
	public String getNameSpace() {
		return "mybatis.xml.AlbumMapper";
	}

	@Override
	public Long queryTotalSupport(Map<String, Object> map) {
		return getSqlSession().selectOne(getNameSpace() + ".queryTotalSupport",
				map);
	}

}
